package org.example.order.openFeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "accountService")
public interface AccountOpenFeignClient {

    @GetMapping("/updateAccount")
    public abstract String updateAccount(@RequestParam("accountId") Integer accountId, @RequestParam("money") Integer money);

}